/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package vn.com.pps.dao;

import vn.com.pps.entities.CoursePupil;
import vn.com.pps.entities.CoursePupilDetail;

/**
 *
 * @author Dai
 */
public interface ICoursePupilDAO {
    public int insert(CoursePupil coursePupil);
    public int update(CoursePupil coursePupil);
    public int delete(int id);
    public CoursePupilDetail getCoursePupil(Integer id);
    public CoursePupilDetail getCoursePupilDetail(Integer id);
    public Page<CoursePupilDetail> getCoursePupils(int pageNo, int pageSize, Integer courseID);
    public int getCount(Integer courseID);
    public int getCountCoursesByPupil(Integer PupilID);
    public Page<CoursePupilDetail> getCourseByPupils(int pageNo, int pageSize, Integer PupilID);
}
